#ifndef _EKEKO_PRIVATE_H_
#define _EKEKO_PRIVATE_H_

#include "Eshm.h"
#include "ekeko_common.h"

extern int ekeko_log;
extern Eix_Server *ekeko_server;

#define ERR(...) EINA_LOG_DOM_ERR(ekeko_log, __VA_ARGS__)
#define INF(...) EINA_LOG_DOM_INFO(ekeko_log, __VA_ARGS__)
#define WRN(...) EINA_LOG_DOM_WARN(ekeko_log, __VA_ARGS__)
#define DBG(...) EINA_LOG_DOM_DBG(ekeko_log, __VA_ARGS__)

typedef struct _Ekeko_Context
{
	Eshm_Segment *s;
	char *name;
	uint32_t size;
	uint32_t id;
} Ekeko_Context;

typedef void (*Ekeko_Pending_Reply_Callback)(void *data, void *user_data);

typedef struct _Ekeko_Pending_Reply
{
	uint32_t msg_id;
	Ekeko_Pending_Reply_Callback *cb;
	void *user_data;
} Ekeko_Pending_Reply;

#endif
